package com.black.cat.jvm.instructions.constants.consts;


import com.black.cat.jvm.instructions.base.InstructionNoOperands;
import com.black.cat.jvm.rtda.Frame;

/**
 * @Author blackcat
 * @create 2021/8/13 14:25
 * @version: 1.0
 * @description:把int型0推入操作数栈顶
 */
public class ICONST_0 extends InstructionNoOperands {

    @Override
    public void execute(Frame frame) {
        frame.operandStack().pushInt(0);
    }
}
